<html>
<head>
<title>HF2 -- HF2/HFZ heightfield raster</title>
</head>

<body bgcolor="#ffffff">

<h1>HF2 -- HF2/HFZ heightfield raster</h1>

(Available for GDAL >= 1.8.0)
<p>
GDAL supports reading and writing HF2/HFZ/HF2.GZ heightfield raster datasets.
<p>
HF2 is a heightfield format that records difference between consecutive cell values. HF2 files can also optionally be compressed by the gzip algorithm, and so the HF2.GZ files (or HFZ, equivalently) may be significantly smaller than the uncompressed data. The file format enables the user to have control on the desired accuracy through the vertical precision parameter.
<p>
GDAL can read and write georeferencing information through extended header blocks.
<p>

<h2>Creation options</h2>

<ul>
<li><b>COMPRESS=</b>YES/NO : whether the file must be compressed with GZip or no. Defaults to NO</li>
<li><b>BLOCKSIZE=</b>block_size : internal tile size. Must be >= 8. Defaults to 256</li>
<li><b>VERTICAL_PRECISION=</b>vertical_precision : Must be > 0. Defaults to 0.01</li>
</ul>

Increasing the vertical precision decreases the file size, especially with COMPRESS=YES, but at the loss of accuracy.

<h2>See also</h2>

<ul>
<li><a href="http://www.bundysoft.com/docs/doku.php?id=l3dt:formats:specs:hf2">Specification of HF2/HFZ format</a></li>
<li><a href="http://www.bundysoft.com/docs/doku.php?id=l3dt:formats:specs:hf2#extended_header">Specification of HF2 extended header blocks</a></li>
</ul>

</body>
</html>
